/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 8 -*- */
/*
* gtruritexttag.h
* Copyright (C) Jonas Hagmar 2009 <gnotterdev@gmail.com>
* 
* gtruritexttag.h is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* gtruritexttag.h is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* 
* You should have received a copy of the GNU General Public License along
* with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GTR_URI_TEXT_TAG_H__
#define __GTR_URI_TEXT_TAG_H__

#include <gtk/gtktexttag.h>

G_BEGIN_DECLS
#define GTR_TYPE_URI_TEXT_TAG                  (gtr_uri_text_tag_get_type ())
#define GTR_URI_TEXT_TAG(obj)                  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTR_TYPE_URI_TEXT_TAG, GtrUriTextTag))
#define GTR_URI_TEXT_TAG_CLASS(klass)          (G_TYPE_CHECK_CLASS_CAST ((klass), GTR_TYPE_URI_TEXT_TAG, GtrUriTextTagClass))
#define GTR_IS_URI_TEXT_TAG(obj)               (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTR_TYPE_URI_TEXT_TAG))
#define GTR_IS_URI_TEXT_TAG_CLASS(klass)       (G_TYPE_CHECK_CLASS_TYPE ((klass), GTR_TYPE_URI_TEXT_TAG))
#define GTR_URI_TEXT_TAG_GET_CLASS(obj)        (G_TYPE_INSTANCE_GET_CLASS ((obj), GTR_TYPE_URI_TEXT_TAG, GtrUriTextTagClass))
typedef struct _GtrUriTextTag GtrUriTextTag;
typedef struct _GtrUriTextTagClass GtrUriTextTagClass;

struct _GtrUriTextTag
{
  GtkTextTag tag;
};

struct _GtrUriTextTagClass
{
  GtkTextTagClass parent_class;
};


GType
gtr_uri_text_tag_get_type (void)
  G_GNUC_CONST;
     GtrUriTextTag *gtr_uri_text_tag_new (void);
     void gtr_uri_text_tag_set_uri (GtrUriTextTag * tag, gchar const *uri);
     gchar const *gtr_uri_text_tag_get_uri (GtrUriTextTag * tag);
     void gtr_uri_text_tag_set_underlined (GtrUriTextTag * tag,
					   gboolean underlined);
     gboolean gtr_uri_text_tag_get_underlined (GtrUriTextTag * tag);
     void gtr_uri_text_tag_set_color (GtrUriTextTag * tag,
				      gchar const *color);
     void gtr_uri_text_tag_set_bold (GtrUriTextTag * tag, gboolean bold);
     gboolean gtr_uri_text_tag_get_bold (GtrUriTextTag * tag);

G_END_DECLS
#endif /* __GTR_URI_TEXT_TAG_H__ */
